import { State } from "@/store";
import { useStore } from "vuex";
import { Getters } from '@/store/utils'

interface IUserWZCStore {
    state: State;
    getters: Getters;
}

const useWZCStore = ():IUserWZCStore => {
    const { state, getters }:IUserWZCStore = useStore<State>();
    return { state, getters }
}

export { useWZCStore }
export default useWZCStore;